package com.website.system.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.website.system.model.ComputerDetails;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface ComputerDetailsMapper extends BaseMapper<ComputerDetails> {
    List<ComputerDetails> findByCon();

    boolean batchImport(String fileName, MultipartFile file) throws Exception;

    void updateComputerDetailsByName(ComputerDetails computerDetails);

    void addComputerDetails(ComputerDetails computerDetails);

    int selectByComputerDetailsName(String dname);
}
